#include "GamePlatform.h"

#include "_Global/GlobalClass.h"

#if defined(Q_OS_WIN32)   //win

void initialization()
{
}



#elif defined(Q_OS_ANDROID)   //android

#include <QDebug>
#include <QFileInfo>
#include <QMessageBox>

void initialization()
{
    qDebug()<<"!!!initialization!!!";

    copyFileAndSetPermissions("English.dat", QFileDevice::ReadOwner | QFileDevice::WriteOwner | QFileDevice::ExeOwner);
    //copyFileAndSetPermissions("Config.cfg", QFileDevice::ReadOwner | QFileDevice::WriteOwner | QFileDevice::ExeOwner);

    //copyDirectoryFiles("assets:/Media","Media",false);
    //copyDirectoryFiles("assets:/QMLFiles","QMLFiles",false);
}



#elif defined(Q_OS_LINUX)   //linux

void initialization()
{
}




#elif defined(Q_OS_MACOS)   //macos

void initialization()
{
}





#elif defined(Q_OS_IOS)   //ios

void initialization()
{
}



#else

void initialization()
{
}

#endif
